/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 50719
 Source Host           : localhost:3306
 Source Schema         : ipzoe-dan

 Target Server Type    : MySQL
 Target Server Version : 50719
 File Encoding         : 65001

 Date: 08/09/2020 14:28:38
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for QRTZ_BLOB_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_BLOB_TRIGGERS`;
CREATE TABLE `QRTZ_BLOB_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL,
  `trigger_name` varchar(200) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  `blob_data` blob,
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_BLOB_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_CALENDARS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_CALENDARS`;
CREATE TABLE `QRTZ_CALENDARS` (
  `sched_name` varchar(120) NOT NULL,
  `calendar_name` varchar(200) NOT NULL,
  `calendar` blob NOT NULL,
  PRIMARY KEY (`sched_name`,`calendar_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_CALENDARS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_CRON_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_CRON_TRIGGERS`;
CREATE TABLE `QRTZ_CRON_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL,
  `trigger_name` varchar(200) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  `cron_expression` varchar(200) NOT NULL,
  `time_zone_id` varchar(80) DEFAULT NULL,
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_CRON_TRIGGERS
-- ----------------------------
BEGIN;
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME1', 'DEFAULT', '0/10 * * * * ?', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME2', 'DEFAULT', '0/15 * * * * ?', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME3', 'DEFAULT', '0/20 * * * * ?', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME4', 'SYSTEM', '0 2 0 * * ?', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME5', 'SYSTEM', '0 1 0 * * ?', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME6', 'SYSTEM', '0 3 0 * * ?', 'Asia/Shanghai');
INSERT INTO `QRTZ_CRON_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME7', 'SYSTEM', '0 0/1 * * * ?', 'Asia/Shanghai');
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_FIRED_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_FIRED_TRIGGERS`;
CREATE TABLE `QRTZ_FIRED_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL,
  `entry_id` varchar(95) NOT NULL,
  `trigger_name` varchar(200) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  `instance_name` varchar(200) NOT NULL,
  `fired_time` bigint(13) NOT NULL,
  `sched_time` bigint(13) NOT NULL,
  `priority` int(11) NOT NULL,
  `state` varchar(16) NOT NULL,
  `job_name` varchar(200) DEFAULT NULL,
  `job_group` varchar(200) DEFAULT NULL,
  `is_nonconcurrent` varchar(1) DEFAULT NULL,
  `requests_recovery` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`sched_name`,`entry_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_FIRED_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_JOB_DETAILS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_JOB_DETAILS`;
CREATE TABLE `QRTZ_JOB_DETAILS` (
  `sched_name` varchar(120) NOT NULL,
  `job_name` varchar(200) NOT NULL,
  `job_group` varchar(200) NOT NULL,
  `description` varchar(250) DEFAULT NULL,
  `job_class_name` varchar(250) NOT NULL,
  `is_durable` varchar(1) NOT NULL,
  `is_nonconcurrent` varchar(1) NOT NULL,
  `is_update_data` varchar(1) NOT NULL,
  `requests_recovery` varchar(1) NOT NULL,
  `job_data` blob,
  PRIMARY KEY (`sched_name`,`job_name`,`job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_JOB_DETAILS
-- ----------------------------
BEGIN;
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME1', 'DEFAULT', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E7372000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001622CDE29E07870707400007070707400013174000E302F3130202A202A202A202A203F74001172795461736B2E72794E6F506172616D7374000744454641554C547372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000001740018E7B3BBE7BB9FE9BB98E8AEA4EFBC88E697A0E58F82EFBC8974000133740001317800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME2', 'DEFAULT', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E7372000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001622CDE29E07870707400007070707400013174000E302F3135202A202A202A202A203F74001572795461736B2E7279506172616D7328277279272974000744454641554C547372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000002740018E7B3BBE7BB9FE9BB98E8AEA4EFBC88E69C89E58F82EFBC8974000133740001317800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME3', 'DEFAULT', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E7372000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001622CDE29E07870707400007070707400013174000E302F3230202A202A202A202A203F74003872795461736B2E72794D756C7469706C65506172616D7328277279272C20747275652C20323030304C2C203331362E3530442C203130302974000744454641554C547372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000003740018E7B3BBE7BB9FE9BB98E8AEA4EFBC88E5A49AE58F82EFBC8974000133740001317800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME4', 'SYSTEM', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E7372000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001746B8F2F607870737200176A6176612E7574696C2E4C696E6B6564486173684D617034C04E5C106CC0FB0200015A000B6163636573734F726465727871007E00053F400000000000007708000000100000000078007400007074000561646D696E707400013174000B3020322030202A202A203F74002361637469766974795461736B2E6163746976697479426567696E416E6445787069726574000653595354454D7372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000004740015E6B4BBE58AA8E5BC80E5A78BE58F8AE8BF87E69C9F74000132740001317800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME5', 'SYSTEM', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E707070707070707400013174000B3020312030202A202A203F74001B6D656D6265725461736B2E6D656D6265724361726445787069726574000653595354454D7372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000000000000574000FE4BC9AE59198E58DA1E8BF87E69C9F74000131740001317800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME6', 'SYSTEM', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E707070707070707400013174000B3020332030202A202A203F7400176D656D6265725461736B2E6D656D62657245787069726574000653595354454D7372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000000000000674000CE4BC9AE59198E8BF87E69C9F74000131740001317800);
INSERT INTO `QRTZ_JOB_DETAILS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME7', 'SYSTEM', NULL, 'com.ipzoe.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F504552544945537372001E636F6D2E69707A6F652E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720027636F6D2E69707A6F652E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200094C0009626567696E54696D657400104C6A6176612F7574696C2F446174653B4C0008637265617465427971007E00094C000A63726561746554696D6571007E000C4C0007656E6454696D6571007E000C4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C78707074000561646D696E707070707070707400013174000D3020302F31202A202A202A203F7400186F726465725461736B2E6F7264657250617945787069726574000653595354454D7372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000007740012E8AEA2E58D95E694AFE4BB98E8B685E697B674000131740001317800);
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_LOCKS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_LOCKS`;
CREATE TABLE `QRTZ_LOCKS` (
  `sched_name` varchar(120) NOT NULL,
  `lock_name` varchar(40) NOT NULL,
  PRIMARY KEY (`sched_name`,`lock_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_LOCKS
-- ----------------------------
BEGIN;
INSERT INTO `QRTZ_LOCKS` VALUES ('RuoyiScheduler', 'STATE_ACCESS');
INSERT INTO `QRTZ_LOCKS` VALUES ('RuoyiScheduler', 'TRIGGER_ACCESS');
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_PAUSED_TRIGGER_GRPS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_PAUSED_TRIGGER_GRPS`;
CREATE TABLE `QRTZ_PAUSED_TRIGGER_GRPS` (
  `sched_name` varchar(120) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  PRIMARY KEY (`sched_name`,`trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_PAUSED_TRIGGER_GRPS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_SCHEDULER_STATE
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SCHEDULER_STATE`;
CREATE TABLE `QRTZ_SCHEDULER_STATE` (
  `sched_name` varchar(120) NOT NULL,
  `instance_name` varchar(200) NOT NULL,
  `last_checkin_time` bigint(13) NOT NULL,
  `checkin_interval` bigint(13) NOT NULL,
  PRIMARY KEY (`sched_name`,`instance_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_SCHEDULER_STATE
-- ----------------------------
BEGIN;
INSERT INTO `QRTZ_SCHEDULER_STATE` VALUES ('RuoyiScheduler', 'zhangmingmingdeMacBook-Pro-2.local1599532134601', 1599535312478, 15000);
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_SIMPLE_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SIMPLE_TRIGGERS`;
CREATE TABLE `QRTZ_SIMPLE_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL,
  `trigger_name` varchar(200) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  `repeat_count` bigint(7) NOT NULL,
  `repeat_interval` bigint(12) NOT NULL,
  `times_triggered` bigint(10) NOT NULL,
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_SIMPLE_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_SIMPROP_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SIMPROP_TRIGGERS`;
CREATE TABLE `QRTZ_SIMPROP_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL,
  `trigger_name` varchar(200) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  `str_prop_1` varchar(512) DEFAULT NULL,
  `str_prop_2` varchar(512) DEFAULT NULL,
  `str_prop_3` varchar(512) DEFAULT NULL,
  `int_prop_1` int(11) DEFAULT NULL,
  `int_prop_2` int(11) DEFAULT NULL,
  `long_prop_1` bigint(20) DEFAULT NULL,
  `long_prop_2` bigint(20) DEFAULT NULL,
  `dec_prop_1` decimal(13,4) DEFAULT NULL,
  `dec_prop_2` decimal(13,4) DEFAULT NULL,
  `bool_prop_1` varchar(1) DEFAULT NULL,
  `bool_prop_2` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_SIMPROP_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_TRIGGERS`;
CREATE TABLE `QRTZ_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL,
  `trigger_name` varchar(200) NOT NULL,
  `trigger_group` varchar(200) NOT NULL,
  `job_name` varchar(200) NOT NULL,
  `job_group` varchar(200) NOT NULL,
  `description` varchar(250) DEFAULT NULL,
  `next_fire_time` bigint(13) DEFAULT NULL,
  `prev_fire_time` bigint(13) DEFAULT NULL,
  `priority` int(11) DEFAULT NULL,
  `trigger_state` varchar(16) NOT NULL,
  `trigger_type` varchar(8) NOT NULL,
  `start_time` bigint(13) NOT NULL,
  `end_time` bigint(13) DEFAULT NULL,
  `calendar_name` varchar(200) DEFAULT NULL,
  `misfire_instr` smallint(2) DEFAULT NULL,
  `job_data` blob,
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  KEY `sched_name` (`sched_name`,`job_name`,`job_group`),
  CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `QRTZ_JOB_DETAILS` (`sched_name`, `job_name`, `job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of QRTZ_TRIGGERS
-- ----------------------------
BEGIN;
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME1', 'DEFAULT', 'TASK_CLASS_NAME1', 'DEFAULT', NULL, 1599532140000, -1, 5, 'PAUSED', 'CRON', 1599532135000, 0, NULL, 2, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME2', 'DEFAULT', 'TASK_CLASS_NAME2', 'DEFAULT', NULL, 1599532140000, -1, 5, 'PAUSED', 'CRON', 1599532135000, 0, NULL, 2, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME3', 'DEFAULT', 'TASK_CLASS_NAME3', 'DEFAULT', NULL, 1599532140000, -1, 5, 'PAUSED', 'CRON', 1599532135000, 0, NULL, 2, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME4', 'SYSTEM', 'TASK_CLASS_NAME4', 'SYSTEM', NULL, 1599580920000, -1, 5, 'PAUSED', 'CRON', 1599532586000, 0, NULL, 1, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME5', 'SYSTEM', 'TASK_CLASS_NAME5', 'SYSTEM', NULL, 1599580860000, -1, 5, 'PAUSED', 'CRON', 1599532724000, 0, NULL, -1, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME6', 'SYSTEM', 'TASK_CLASS_NAME6', 'SYSTEM', NULL, 1599580980000, -1, 5, 'PAUSED', 'CRON', 1599532802000, 0, NULL, -1, '');
INSERT INTO `QRTZ_TRIGGERS` VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME7', 'SYSTEM', 'TASK_CLASS_NAME7', 'SYSTEM', NULL, 1599532920000, -1, 5, 'PAUSED', 'CRON', 1599532863000, 0, NULL, -1, '');
COMMIT;

-- ----------------------------
-- Table structure for act_activity
-- ----------------------------
DROP TABLE IF EXISTS `act_activity`;
CREATE TABLE `act_activity` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL COMMENT '活动名称',
  `begin_time` date NOT NULL COMMENT '活动开始时间',
  `end_time` date NOT NULL COMMENT '活动截止时间',
  `city_code` int(6) DEFAULT NULL COMMENT '活动城市,base_region',
  `permission` tinyint(2) DEFAULT NULL COMMENT '活动权限，数据字典',
  `status` tinyint(2) NOT NULL COMMENT '活动状态',
  `logo_url` varchar(255) DEFAULT NULL COMMENT 'logo图片',
  `introduction` varchar(255) DEFAULT NULL COMMENT '活动简介',
  `info` varchar(5000) DEFAULT NULL COMMENT '活动富文本',
  `pv_num` int(4) NOT NULL DEFAULT '0' COMMENT '浏览次数',
  `signup_num` int(4) NOT NULL DEFAULT '0' COMMENT '报名人数',
  `create_time` datetime DEFAULT NULL,
  `create_by` varchar(64) DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) DEFAULT '0' COMMENT '是否删除',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='活动';

-- ----------------------------
-- Records of act_activity
-- ----------------------------

-- ----------------------------
-- Table structure for act_activity_signup
-- ----------------------------
DROP TABLE IF EXISTS `act_activity_signup`;
CREATE TABLE `act_activity_signup` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `activity_id` bigint(20) NOT NULL COMMENT '活动id',
  `member_id` bigint(20) NOT NULL COMMENT '报名用户id',
  `username` varchar(255) NOT NULL COMMENT '姓名',
  `nickname` varchar(255) NOT NULL COMMENT '昵称',
  `mobile` varchar(11) NOT NULL COMMENT '手机',
  `email` varchar(50) NOT NULL COMMENT '邮箱',
  `create_time` datetime NOT NULL,
  `status` tinyint(1) DEFAULT NULL COMMENT '活动报名状态，数据字典',
  `verification_time` datetime DEFAULT NULL COMMENT '核销时间',
  `verification_by` varchar(255) DEFAULT NULL COMMENT '核销人',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='活动报名';

-- ----------------------------
-- Records of act_activity_signup
-- ----------------------------

-- ----------------------------
-- Table structure for base_hot_city
-- ----------------------------
DROP TABLE IF EXISTS `base_hot_city`;
CREATE TABLE `base_hot_city` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `region_id` int(11) NOT NULL,
  `code` int(6) DEFAULT '0' COMMENT '城市编码',
  `name` varchar(120) NOT NULL DEFAULT '' COMMENT '城市名称',
  `order_num` int(4) NOT NULL DEFAULT '0' COMMENT '排序，越小越前',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='热门城市表';

-- ----------------------------
-- Records of base_hot_city
-- ----------------------------

-- ----------------------------
-- Table structure for base_industry
-- ----------------------------
DROP TABLE IF EXISTS `base_industry`;
CREATE TABLE `base_industry` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) NOT NULL COMMENT '行业名称',
  `order_num` int(4) NOT NULL DEFAULT '99' COMMENT '排序',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) NOT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='行业表';

-- ----------------------------
-- Records of base_industry
-- ----------------------------

-- ----------------------------
-- Table structure for base_region
-- ----------------------------
DROP TABLE IF EXISTS `base_region`;
CREATE TABLE `base_region` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pid` int(11) NOT NULL DEFAULT '0' COMMENT '行政区域父ID，例如区县的pid指向市，市的pid指向省，省的pid则是0',
  `name` varchar(120) NOT NULL DEFAULT '' COMMENT '行政区域名称',
  `level` tinyint(3) NOT NULL DEFAULT '0' COMMENT '行政区域类型，如果是1则是省， 如果是2则是市，如果是3则是区县',
  `code` int(6) DEFAULT '0' COMMENT '行政区域编码',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `parent_id` (`pid`) USING BTREE,
  KEY `region_level` (`level`) USING BTREE,
  KEY `region_code` (`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='行政区域表';

-- ----------------------------
-- Records of base_region
-- ----------------------------

-- ----------------------------
-- Table structure for cms_article
-- ----------------------------
DROP TABLE IF EXISTS `cms_article`;
CREATE TABLE `cms_article` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL COMMENT '标题',
  `category_id` bigint(20) NOT NULL COMMENT '文章分类',
  `order_num` int(4) NOT NULL DEFAULT '0' COMMENT '排序，越小越前',
  `outline` varchar(255) DEFAULT NULL COMMENT '概要',
  `content` varchar(5000) DEFAULT NULL COMMENT '内容，富文本',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) NOT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文章';

-- ----------------------------
-- Records of cms_article
-- ----------------------------

-- ----------------------------
-- Table structure for cms_article_category
-- ----------------------------
DROP TABLE IF EXISTS `cms_article_category`;
CREATE TABLE `cms_article_category` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL COMMENT '分类名称',
  `order_num` int(4) NOT NULL DEFAULT '0' COMMENT '排序，越小越前',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) NOT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COMMENT='文章分类';

-- ----------------------------
-- Records of cms_article_category
-- ----------------------------
BEGIN;
INSERT INTO `cms_article_category` VALUES (1, '新闻资讯', 1, '2020-09-01 23:15:37', 'admin', 'admin', '2020-09-01 23:15:54', 0);
INSERT INTO `cms_article_category` VALUES (2, '常见问题', 2, '2020-09-01 23:15:48', 'admin', NULL, NULL, 0);
COMMIT;

-- ----------------------------
-- Table structure for cms_banner
-- ----------------------------
DROP TABLE IF EXISTS `cms_banner`;
CREATE TABLE `cms_banner` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL COMMENT 'banner名称',
  `location` tinyint(2) NOT NULL COMMENT 'banner位置，枚举',
  `img_url` varchar(255) NOT NULL COMMENT '图片地址',
  `order_num` int(4) NOT NULL DEFAULT '0' COMMENT '越小越靠前',
  `use_flag` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否上架',
  `link_url` varchar(255) DEFAULT NULL COMMENT '链接地址',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) NOT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of cms_banner
-- ----------------------------

-- ----------------------------
-- Table structure for cms_case
-- ----------------------------
DROP TABLE IF EXISTS `cms_case`;
CREATE TABLE `cms_case` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `cover_img` varchar(255) DEFAULT NULL COMMENT '封面图片',
  `name` varchar(255) NOT NULL COMMENT '案例名称',
  `introduction` varchar(255) DEFAULT NULL COMMENT '案例简介',
  `info` varchar(5000) DEFAULT NULL COMMENT '案例明细',
  `order_num` int(4) NOT NULL DEFAULT '0' COMMENT '排序，越小越前',
  `recommend_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否推荐',
  `use_flag` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否上架',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) NOT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='案例';

-- ----------------------------
-- Records of cms_case
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for cms_feedback
-- ----------------------------
DROP TABLE IF EXISTS `cms_feedback`;
CREATE TABLE `cms_feedback` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `member_id` bigint(20) NOT NULL COMMENT '反馈用户id',
  `nickname` varchar(255) NOT NULL COMMENT '反馈用户昵称',
  `mobile` varchar(11) NOT NULL COMMENT '反馈手机号',
  `content` varchar(1000) NOT NULL COMMENT '反馈内容',
  `create_time` datetime NOT NULL,
  `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '反馈状态',
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `remark` varchar(1000) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='反馈信息';

-- ----------------------------
-- Records of cms_feedback
-- ----------------------------

-- ----------------------------
-- Table structure for file_info
-- ----------------------------
DROP TABLE IF EXISTS `file_info`;
CREATE TABLE `file_info` (
  `id` varchar(32) CHARACTER SET utf8mb4 NOT NULL COMMENT '文件md5',
  `name` varchar(128) CHARACTER SET utf8mb4 NOT NULL,
  `is_img` tinyint(1) NOT NULL,
  `content_type` varchar(128) CHARACTER SET utf8mb4 NOT NULL,
  `size` int(11) NOT NULL,
  `path` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '物理路径',
  `url` varchar(1024) CHARACTER SET utf8mb4 NOT NULL,
  `source` varchar(32) CHARACTER SET utf8mb4 NOT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_create_time` (`create_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of file_info
-- ----------------------------

-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `table_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_name` varchar(200) DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) DEFAULT '' COMMENT '表描述',
  `class_name` varchar(100) DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `package_name` varchar(100) DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) DEFAULT NULL COMMENT '其它生成选项',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COMMENT='代码生成业务表';

-- ----------------------------
-- Records of gen_table
-- ----------------------------
BEGIN;
INSERT INTO `gen_table` VALUES (1, 'cms_banner', 'banner', 'Banner', 'crud', 'com.ipzoe.cms', 'cms', 'banner', 'banner', 'eric', '0', '/', '{}', 'admin', '2020-08-13 10:04:52', '', '2020-08-13 15:22:52', NULL);
INSERT INTO `gen_table` VALUES (2, 'cms_article', '文章', 'Article', 'crud', 'com.ipzoe.cms', 'cms', 'article', '文章', 'eric', '0', '/', '{}', 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59', NULL);
INSERT INTO `gen_table` VALUES (3, 'cms_case', '案例', 'Case', 'crud', 'com.ipzoe.cms', 'cms', 'case', '案例', 'eric', '0', '/', '{}', 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49', NULL);
INSERT INTO `gen_table` VALUES (4, 'cms_feedback', '反馈信息', 'Feedback', 'crud', 'com.ipzoe.cms', 'cms', 'feedback', '反馈信息', 'eric', '0', '/', '{}', 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17', NULL);
INSERT INTO `gen_table` VALUES (5, 'act_activity', '活动', 'Activity', 'crud', 'com.ipzoe.act', 'act', 'activity', '活动', 'eric', '0', '/', '{}', 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01', NULL);
INSERT INTO `gen_table` VALUES (6, 'act_activity_signup', '活动报名', 'ActivitySignup', 'crud', 'com.ipzoe.act', 'act', 'activitySignup', '活动报名', 'eric', '0', '/', '{}', 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26', NULL);
INSERT INTO `gen_table` VALUES (7, 'mem_dealer', '经销商表', 'Dealer', 'crud', 'com.ipzoe.mem', 'member', 'dealer', '经销商', 'eric', '0', '/', '{}', 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52', NULL);
INSERT INTO `gen_table` VALUES (8, 'mem_member_recharge_package', '会员充值套餐', 'MemberRechargePackage', 'crud', 'com.ipzoe.mem', 'member', 'rechargePackage', '会员充值套餐', 'eric', '0', '/', '{}', 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17', NULL);
INSERT INTO `gen_table` VALUES (9, 'mem_member_card', '会员卡', 'MemberCard', 'crud', 'com.ipzoe.mem', 'member', 'memberCard', '会员卡', 'eric', '0', '/', '{}', 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52', NULL);
INSERT INTO `gen_table` VALUES (10, 'mem_member', '会员', 'Member', 'crud', 'com.ipzoe.mem', 'member', 'member', '会员', 'eric', '0', '/', '{}', 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31', NULL);
INSERT INTO `gen_table` VALUES (11, 'base_industry', '行业表', 'Industry', 'crud', 'com.ipzoe.system', 'system', 'industry', '行业', 'eric', '0', '/', '{}', 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50', NULL);
INSERT INTO `gen_table` VALUES (12, 'base_region', '行政区域表', 'Region', 'tree', 'com.ipzoe.system', 'system', 'region', '行政区域', 'eric', '0', '/', '{\"treeCode\":\"id\",\"treeName\":\"name\",\"treeParentCode\":\"pid\"}', 'admin', '2020-08-26 10:57:38', '', '2020-08-26 11:00:36', NULL);
INSERT INTO `gen_table` VALUES (14, 'base_hot_city', '热门城市表', 'HotCity', 'crud', 'com.ipzoe.system', 'system', 'hotCity', '热门城市', 'eric', '0', '/', '{}', 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47', NULL);
INSERT INTO `gen_table` VALUES (15, 'cms_article_category', '文章分类', 'ArticleCategory', 'crud', 'com.ipzoe.cms', 'cms', 'category', '文章分类', 'eric', '0', '/', '{}', 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37', NULL);
INSERT INTO `gen_table` VALUES (16, 'oms_order', '订单', 'Order', 'crud', 'com.ipzoe.oms', 'oms', 'order', '订单', 'eric', '0', '/', '{}', 'admin', '2020-09-06 17:51:47', '', '2020-09-06 18:06:21', NULL);
INSERT INTO `gen_table` VALUES (17, 'mem_member_img', '用户图片', 'MemberImg', 'crud', 'com.ipzoe.mem', 'mem', 'img', '用户图片', 'eric', '0', '/', '{}', 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07', NULL);
COMMIT;

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `column_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_id` varchar(64) DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) DEFAULT '' COMMENT '字典类型',
  `sort` int(11) DEFAULT NULL COMMENT '排序',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`)
) ENGINE=InnoDB AUTO_INCREMENT=194 DEFAULT CHARSET=utf8mb4 COMMENT='代码生成业务表字段';

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
BEGIN;
INSERT INTO `gen_table_column` VALUES (1, '1', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-13 10:04:52', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (2, '1', 'name', 'banner名称', 'varchar(255)', 'String', 'name', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2020-08-13 10:04:52', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (3, '1', 'location', 'banner位置', 'tinyint(2)', 'Integer', 'location', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'select', 'cms_banner_location', 3, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (4, '1', 'img_url', '图片', 'varchar(255)', 'String', 'imgUrl', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (5, '1', 'order_num', '排序', 'int(4)', 'Integer', 'orderNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (6, '1', 'use_flag', '上下架', 'tinyint(1)', 'Integer', 'useFlag', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (7, '1', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (8, '1', 'create_by', NULL, 'bigint(20)', 'Long', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (9, '1', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (10, '1', 'update_by', NULL, 'bigint(20)', 'Long', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (11, '1', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2020-08-13 10:04:53', '', '2020-08-13 15:22:52');
INSERT INTO `gen_table_column` VALUES (12, '2', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (13, '2', 'title', '标题', 'varchar(255)', 'String', 'title', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (14, '2', 'category', '文章分类', 'tinyint(2)', 'Integer', 'category', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'cms_article_category', 3, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (15, '2', 'order_num', '排序', 'int(4)', 'Integer', 'orderNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (16, '2', 'content', '内容', 'blob', NULL, 'content', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', NULL, '', 5, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (17, '2', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, '1', NULL, 'EQ', 'datetime', '', 6, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (18, '2', 'create_by', NULL, 'bigint(20)', 'Long', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (19, '2', 'update_by', NULL, 'bigint(20)', 'Long', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (20, '2', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (21, '2', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2020-08-14 15:47:52', '', '2020-08-15 08:05:59');
INSERT INTO `gen_table_column` VALUES (22, '3', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (23, '3', 'cover_img', '封面', 'varchar(255)', 'String', 'coverImg', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (24, '3', 'name', '案例名称', 'varchar(255)', 'String', 'name', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (25, '3', 'introduction', '案例简介', 'varchar(255)', 'String', 'introduction', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 4, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (26, '3', 'info', '案例详情', 'varchar(5000)', 'String', 'info', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'textarea', '', 5, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (27, '3', 'order_num', '排序', 'int(4)', 'Integer', 'orderNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (28, '3', 'recommend_flag', '推荐', 'tinyint(1)', 'Integer', 'recommendFlag', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (29, '3', 'use_flag', '上下架', 'tinyint(1)', 'Integer', 'useFlag', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (30, '3', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, '1', '1', 'EQ', 'datetime', '', 9, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (31, '3', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (32, '3', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 11, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (33, '3', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (34, '3', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 13, 'admin', '2020-08-15 21:50:55', '', '2020-08-15 21:53:49');
INSERT INTO `gen_table_column` VALUES (35, '4', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (36, '4', 'member_id', '反馈用户id', 'bigint(20)', 'Long', 'memberId', '0', '0', '1', '1', NULL, NULL, '1', 'EQ', 'input', '', 2, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (37, '4', 'nickname', '反馈用户昵称', 'varchar(255)', 'String', 'nickname', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (38, '4', 'mobile', '反馈手机号', 'varchar(11)', 'String', 'mobile', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (39, '4', 'content', '反馈内容', 'varchar(1000)', 'String', 'content', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'textarea', '', 5, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (40, '4', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, '1', NULL, 'EQ', 'datetime', '', 6, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (41, '4', 'status', '反馈状态', 'tinyint(2)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', 'cms_feedback_status', 7, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (42, '4', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 8, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (43, '4', 'update_by', NULL, 'tinyint(20)', 'Long', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2020-08-17 08:59:36', '', '2020-08-17 09:13:17');
INSERT INTO `gen_table_column` VALUES (44, '5', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (45, '5', 'name', '活动名称', 'varchar(255)', 'String', 'name', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (46, '5', 'begin_time', '开始时间', 'datetime', 'Date', 'beginTime', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'datetime', '', 3, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (47, '5', 'end_time', '报名截止时间', 'datetime', 'Date', 'endTime', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'datetime', '', 4, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (48, '5', 'city_code', '活动城市', 'int(6)', 'Integer', 'cityCode', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (49, '5', 'permission', '活动权限', 'tinyint(2)', 'Integer', 'permission', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', 'act_active_permission', 6, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (50, '5', 'status', '活动状态', 'tinyint(2)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', 'act_active_status', 7, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (51, '5', 'logo_url', 'logo图片', 'varchar(255)', 'String', 'logoUrl', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (52, '5', 'introduction', '活动简介', 'varchar(255)', 'String', 'introduction', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (53, '5', 'info', '活动详细', 'blob', NULL, 'info', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', NULL, '', 10, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (54, '5', 'pv_num', '浏览次数', 'int(4)', 'Integer', 'pvNum', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (55, '5', 'signup_num', '报名人数', 'int(4)', 'Integer', 'signupNum', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (56, '5', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (57, '5', 'create_by', NULL, 'bigint(20)', 'Long', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (58, '5', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 15, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (59, '5', 'update_by', NULL, 'bigint(20)', 'Long', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 16, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (60, '5', 'del_flag', '是否删除', 'tinyint(1)', 'Integer', 'delFlag', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 17, 'admin', '2020-08-17 13:52:55', '', '2020-08-17 15:27:01');
INSERT INTO `gen_table_column` VALUES (61, '6', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (62, '6', 'activity_id', '活动id', 'bigint(20)', 'Long', 'activityId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 2, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (63, '6', 'member_id', '报名用户id', 'bigint(20)', 'Long', 'memberId', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 3, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (64, '6', 'username', '姓名', 'varchar(255)', 'String', 'username', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 4, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (65, '6', 'nickname', '昵称', 'varchar(255)', 'String', 'nickname', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 5, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (66, '6', 'mobile', '手机', 'varchar(11)', 'String', 'mobile', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (67, '6', 'email', '邮箱', 'varchar(50)', 'String', 'email', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (68, '6', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 8, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (69, '6', 'status', '活动报名状态，数据字典', 'tinyint(1)', 'Integer', 'status', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'radio', 'act_activity_signup_status', 9, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (70, '6', 'verification_time', '核销时间', 'datetime', 'Date', 'verificationTime', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'datetime', '', 10, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (71, '6', 'verification_by', '核销人', 'varchar(255)', 'String', 'verificationBy', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 11, 'admin', '2020-08-20 15:15:25', '', '2020-08-20 16:55:26');
INSERT INTO `gen_table_column` VALUES (72, '7', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (73, '7', 'name', '经销商名称', 'varchar(255)', 'String', 'name', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (74, '7', 'desc', '经销商描述', 'varchar(500)', 'String', 'desc', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 3, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (75, '7', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 4, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (76, '7', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 5, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (77, '7', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 6, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (78, '7', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (79, '7', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-20 17:08:15', '', '2020-08-20 17:08:52');
INSERT INTO `gen_table_column` VALUES (80, '8', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (81, '8', 'name', '套餐名称', 'varchar(255)', 'String', 'name', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (82, '8', 'price', '套餐价格', 'int(4)', 'Integer', 'price', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (83, '8', 'effective_days', '有效天数', 'int(4)', 'Integer', 'effectiveDays', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (84, '8', 'expiry_day', '套餐有效期', 'date', 'Date', 'expiryDay', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'datetime', '', 5, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (85, '8', 'sold_num', '销量', 'int(4)', 'Integer', 'soldNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (86, '8', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (87, '8', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (88, '8', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (89, '8', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (90, '8', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2020-08-20 17:41:12', '', '2020-08-20 17:42:17');
INSERT INTO `gen_table_column` VALUES (91, '9', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (92, '9', 'card_num', '卡号', 'varchar(50)', 'String', 'cardNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (93, '9', 'package_id', '会员套餐id', 'bigint(20)', 'Long', 'packageId', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (94, '9', 'dealer_id', '经销商id', 'bigint(20)', 'Long', 'dealerId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (95, '9', 'expiry_day', '有效期', 'date', 'Date', 'expiryDay', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 5, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (96, '9', 'status', '会员卡状态，数据字典', 'tinyint(1)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'mem_member_card_status', 6, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (97, '9', 'member_id', '使用的会员id', 'bigint(20)', 'Long', 'memberId', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (98, '9', 'use_time', '使用时间', 'datetime', 'Date', 'useTime', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'datetime', '', 8, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (99, '9', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (100, '9', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (101, '9', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (102, '9', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 12, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (103, '9', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 13, 'admin', '2020-08-20 17:47:01', '', '2020-08-20 18:09:52');
INSERT INTO `gen_table_column` VALUES (104, '10', 'id', ' ', 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (105, '10', 'username', '用户名', 'varchar(255)', 'String', 'username', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (106, '10', 'mobile1', '用户手机号1', 'varchar(11)', 'String', 'mobile1', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 3, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (107, '10', 'mobile2', '用户手机号2', 'varchar(11)', 'String', 'mobile2', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 4, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (108, '10', 'nickname', '昵称', 'varchar(255)', 'String', 'nickname', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 5, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (109, '10', 'avatar', '头像图片', 'varchar(255)', 'String', 'avatar', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (110, '10', 'member_card_id', '当前会员卡id', 'bigint(20)', 'Long', 'memberCardId', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (111, '10', 'member_num', '会员号码', 'varchar(50)', 'String', 'memberNum', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (112, '10', 'member_level', '用户等级，数据字典', 'int(2)', 'Integer', 'memberLevel', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'mem_member_level', 9, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (113, '10', 'last_login_time', '最后登录时间', 'datetime', 'Date', 'lastLoginTime', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'datetime', '', 10, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (114, '10', 'register_time', '注册时间', 'datetime', 'Date', 'registerTime', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'datetime', '', 11, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (115, '10', 'status', '账户状态，数据字典', 'tinyint(2)', 'Integer', 'status', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'radio', 'mem_account_status', 12, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (116, '10', 'member_status', '会员状态，数据字典', 'tinyint(2)', 'Integer', 'memberStatus', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'radio', 'mem_member_status', 13, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (117, '10', 'member_begin_time', '会员开始时间', 'datetime', 'Date', 'memberBeginTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 14, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (118, '10', 'member_expire_time', '会员到期时间', 'datetime', 'Date', 'memberExpireTime', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'datetime', '', 15, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (119, '10', 'birthday', '生日', 'date', 'Date', 'birthday', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 16, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (120, '10', 'sex', '性别，数据字典', 'tinyint(2)', 'Integer', 'sex', '0', '0', NULL, '1', '1', NULL, '1', 'EQ', 'select', 'sys_user_sex', 17, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (121, '10', 'dive_level', '潜水等级，数据字典', 'tinyint(2)', 'Integer', 'diveLevel', '0', '0', NULL, '1', '1', NULL, '1', 'EQ', 'select', 'mem_member_dan_level', 18, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (122, '10', 'email', '电子邮件', 'varchar(50)', 'String', 'email', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 19, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (123, '10', 'industry_id', '所属行业，行业表', 'bigint(20)', 'Long', 'industryId', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 20, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (124, '10', 'address1', '地址1', 'varchar(255)', 'String', 'address1', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 21, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (125, '10', 'address2', '地址2', 'varchar(255)', 'String', 'address2', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 22, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (126, '10', 'country', '国家，有疑问', 'varchar(255)', 'String', 'country', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 23, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (127, '10', 'postcode', '邮编', 'varchar(50)', 'String', 'postcode', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 24, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (128, '10', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 25, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (129, '10', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 26, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (130, '10', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 27, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (131, '10', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 28, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (132, '10', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 29, 'admin', '2020-08-20 19:11:59', '', '2020-08-23 14:32:31');
INSERT INTO `gen_table_column` VALUES (133, '11', 'id', NULL, 'int(11)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (134, '11', 'name', '行业名称', 'varchar(45)', 'String', 'name', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (135, '11', 'order_num', '排序', 'int(4)', 'Integer', 'orderNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (136, '11', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 4, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (137, '11', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 5, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (138, '11', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 6, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (139, '11', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (140, '11', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-08-26 10:32:07', '', '2020-08-26 10:32:50');
INSERT INTO `gen_table_column` VALUES (141, '12', 'id', NULL, 'int(11)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-26 10:57:38', '', '2020-08-26 11:00:36');
INSERT INTO `gen_table_column` VALUES (142, '12', 'pid', '行政区域父ID，例如区县的pid指向市，市的pid指向省，省的pid则是0', 'int(11)', 'Long', 'pid', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 'admin', '2020-08-26 10:57:38', '', '2020-08-26 11:00:36');
INSERT INTO `gen_table_column` VALUES (143, '12', 'name', '行政区域名称', 'varchar(120)', 'String', 'name', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 3, 'admin', '2020-08-26 10:57:38', '', '2020-08-26 11:00:36');
INSERT INTO `gen_table_column` VALUES (144, '12', 'level', '行政区域类型，如果是1则是省， 如果是2则是市，如果是3则是区县', 'tinyint(3)', 'Integer', 'level', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'select', 'sys_region_level', 4, 'admin', '2020-08-26 10:57:38', '', '2020-08-26 11:00:36');
INSERT INTO `gen_table_column` VALUES (145, '12', 'code', '行政区域编码', 'int(6)', 'Integer', 'code', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2020-08-26 10:57:38', '', '2020-08-26 11:00:36');
INSERT INTO `gen_table_column` VALUES (155, '14', 'id', NULL, 'int(11)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (156, '14', 'region_id', NULL, 'int(11)', 'Long', 'regionId', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (157, '14', 'code', '城市编码', 'int(6)', 'Integer', 'code', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 3, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (158, '14', 'name', '城市名称', 'varchar(120)', 'String', 'name', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 4, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (159, '14', 'order_num', '排序，越小越前', 'int(4)', 'Integer', 'orderNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (160, '14', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 6, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (161, '14', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2020-08-29 10:15:54', '', '2020-08-29 10:16:47');
INSERT INTO `gen_table_column` VALUES (162, '15', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (163, '15', 'name', '分类名称', 'varchar(100)', 'String', 'name', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (164, '15', 'order_num', '排序，越小越前', 'int(4)', 'Integer', 'orderNum', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (165, '15', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 4, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (166, '15', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 5, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (167, '15', 'update_by', NULL, 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (168, '15', 'update_time', NULL, 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 7, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (169, '15', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2020-09-01 22:57:54', '', '2020-09-06 18:04:37');
INSERT INTO `gen_table_column` VALUES (170, '16', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-09-06 17:51:47', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (171, '16', 'order_sn', '订单号码', 'varchar(50)', 'String', 'orderSn', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2020-09-06 17:51:47', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (172, '16', 'member_id', '购买用户', 'bigint(20)', 'Long', 'memberId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2020-09-06 17:51:47', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (173, '16', 'card_id', '会员卡券id', 'bigint(20)', 'Long', 'cardId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2020-09-06 17:51:47', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (174, '16', 'card_num', '会员卡号', 'varchar(50)', 'String', 'cardNum', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (175, '16', 'dealer_id', '经销商id', 'bigint(20)', 'Long', 'dealerId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (176, '16', 'package_id', '充值套餐id', 'bigint(20)', 'Long', 'packageId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (177, '16', 'create_time', '提交时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 8, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (178, '16', 'total_amount', '订单总金额', 'decimal(10,2)', 'BigDecimal', 'totalAmount', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (179, '16', 'pay_amount', '应付金额（实际支付金额）', 'decimal(10,2)', 'BigDecimal', 'payAmount', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (180, '16', 'pay_type', '支付方式', 'tinyint(2)', 'Integer', 'payType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'oms_pay_type', 11, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (181, '16', 'source_type', '订单来源', 'tinyint(2)', 'Integer', 'sourceType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'oms_order_source', 12, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (182, '16', 'status', '订单状态', 'tinyint(2)', 'Integer', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', 'oms_order_status', 13, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (183, '16', 'note', '订单备注', 'varchar(500)', 'String', 'note', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 14, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (184, '16', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 15, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (185, '16', 'payment_time', '支付时间', 'datetime', 'Date', 'paymentTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 16, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (186, '16', 'order_type', '订单类型', 'tinyint(2)', 'Integer', 'orderType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'oms_order_type', 17, 'admin', '2020-09-06 17:51:48', '', '2020-09-06 18:06:21');
INSERT INTO `gen_table_column` VALUES (187, '17', 'id', NULL, 'bigint(20)', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
INSERT INTO `gen_table_column` VALUES (188, '17', 'member_id', '用户id', 'bigint(20)', 'Long', 'memberId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
INSERT INTO `gen_table_column` VALUES (189, '17', 'img_url', '图片', 'varchar(255)', 'String', 'imgUrl', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
INSERT INTO `gen_table_column` VALUES (190, '17', 'type', '图片类型，数据字典', 'tinyint(2)', 'Integer', 'type', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', 'mem_member_img_type', 4, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
INSERT INTO `gen_table_column` VALUES (191, '17', 'create_time', NULL, 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 5, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
INSERT INTO `gen_table_column` VALUES (192, '17', 'create_by', NULL, 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
INSERT INTO `gen_table_column` VALUES (193, '17', 'del_flag', NULL, 'tinyint(1)', 'Integer', 'delFlag', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2020-09-06 22:17:33', '', '2020-09-06 22:18:07');
COMMIT;

-- ----------------------------
-- Table structure for mem_dealer
-- ----------------------------
DROP TABLE IF EXISTS `mem_dealer`;
CREATE TABLE `mem_dealer` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL COMMENT '经销商名称',
  `description` varchar(500) DEFAULT NULL COMMENT '经销商描述',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='经销商表';

-- ----------------------------
-- Records of mem_dealer
-- ----------------------------

-- ----------------------------
-- Table structure for mem_member
-- ----------------------------
DROP TABLE IF EXISTS `mem_member`;
CREATE TABLE `mem_member` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT ' ',
  `username` varchar(255) NOT NULL COMMENT '用户名',
  `mobile1` varchar(11) DEFAULT NULL COMMENT '用户手机号1',
  `mobile2` varchar(11) DEFAULT NULL COMMENT '用户手机号2',
  `password` varchar(255) DEFAULT NULL COMMENT '密码',
  `nickname` varchar(255) DEFAULT NULL COMMENT '昵称',
  `avatar` varchar(255) DEFAULT NULL COMMENT '头像图片',
  `member_card_id` bigint(20) DEFAULT NULL COMMENT '当前会员卡id',
  `member_num` varchar(50) DEFAULT NULL COMMENT '会员号码',
  `member_level` int(2) NOT NULL COMMENT '用户等级，数据字典',
  `last_login_time` datetime DEFAULT NULL COMMENT '最后登录时间',
  `register_time` datetime DEFAULT NULL COMMENT '注册时间',
  `status` tinyint(2) NOT NULL COMMENT '账户状态，数据字典',
  `member_status` tinyint(2) DEFAULT NULL COMMENT '会员状态，数据字典',
  `member_begin_time` datetime DEFAULT NULL COMMENT '会员开始时间',
  `member_expire_time` datetime DEFAULT NULL COMMENT '会员到期时间',
  `birthday` date DEFAULT NULL COMMENT '生日',
  `sex` tinyint(2) DEFAULT NULL COMMENT '性别，数据字典',
  `dive_level` tinyint(2) DEFAULT NULL COMMENT '潜水等级，数据字典',
  `email` varchar(50) DEFAULT NULL COMMENT '电子邮件',
  `industry_id` bigint(20) DEFAULT NULL COMMENT '所属行业，行业表',
  `address1` varchar(255) DEFAULT NULL COMMENT '地址1',
  `address2` varchar(255) DEFAULT NULL COMMENT '地址2',
  `country` varchar(255) DEFAULT NULL COMMENT '国家，有疑问',
  `postcode` varchar(50) DEFAULT NULL COMMENT '邮编',
  `create_time` datetime NOT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `udx_membernum` (`member_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户，会员';

-- ----------------------------
-- Records of mem_member
-- ----------------------------

-- ----------------------------
-- Table structure for mem_member_card
-- ----------------------------
DROP TABLE IF EXISTS `mem_member_card`;
CREATE TABLE `mem_member_card` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `card_num` varchar(50) NOT NULL COMMENT '卡号',
  `package_id` bigint(20) NOT NULL COMMENT '会员套餐id',
  `dealer_id` bigint(20) NOT NULL COMMENT '经销商id',
  `expiry_day` date DEFAULT NULL COMMENT '有效期',
  `status` tinyint(1) NOT NULL COMMENT '会员卡状态，数据字典',
  `member_id` bigint(20) DEFAULT NULL COMMENT '使用的会员id',
  `use_time` datetime DEFAULT NULL COMMENT '使用时间',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `udx_cardNum` (`card_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='会员卡';

-- ----------------------------
-- Records of mem_member_card
-- ----------------------------

-- ----------------------------
-- Table structure for mem_member_img
-- ----------------------------
DROP TABLE IF EXISTS `mem_member_img`;
CREATE TABLE `mem_member_img` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `member_id` bigint(20) NOT NULL COMMENT '用户id',
  `img_url` varchar(255) DEFAULT NULL COMMENT '图片',
  `type` tinyint(2) DEFAULT NULL COMMENT '图片类型，数据字典',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `idx_member` (`member_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户图片';

-- ----------------------------
-- Records of mem_member_img
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for mem_member_login_log
-- ----------------------------
DROP TABLE IF EXISTS `mem_member_login_log`;
CREATE TABLE `mem_member_login_log` (
  `id` bigint(20) NOT NULL,
  `member_id` bigint(20) NOT NULL COMMENT '会员id',
  `login_begin_time` datetime DEFAULT NULL COMMENT '开始登录时间',
  `login_end_time` datetime DEFAULT NULL COMMENT '截止登录时间',
  `login_city` varchar(255) DEFAULT NULL COMMENT '登录城市',
  `login_device` varchar(255) DEFAULT NULL COMMENT '登录设备',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户登录日志';

-- ----------------------------
-- Records of mem_member_login_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for mem_member_recharge_package
-- ----------------------------
DROP TABLE IF EXISTS `mem_member_recharge_package`;
CREATE TABLE `mem_member_recharge_package` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL COMMENT '套餐名称',
  `price` int(4) NOT NULL DEFAULT '0' COMMENT '套餐价格',
  `effective_num` int(4) NOT NULL DEFAULT '0' COMMENT '有效单位数量',
  `effective_unit` tinyint(2) DEFAULT NULL COMMENT '有效单位',
  `expiry_day` date DEFAULT NULL COMMENT '套餐有效期',
  `sold_num` int(4) NOT NULL DEFAULT '0' COMMENT '销量',
  `create_time` datetime NOT NULL,
  `create_by` varchar(64) DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `update_by` varchar(64) DEFAULT NULL,
  `del_flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='会员充值套餐';

-- ----------------------------
-- Records of mem_member_recharge_package
-- ----------------------------

-- ----------------------------
-- Table structure for oms_order
-- ----------------------------
DROP TABLE IF EXISTS `oms_order`;
CREATE TABLE `oms_order` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `order_sn` varchar(50) NOT NULL COMMENT '订单号码',
  `member_id` bigint(20) NOT NULL COMMENT '购买用户',
  `card_id` bigint(20) DEFAULT NULL COMMENT '会员卡券id',
  `card_num` varchar(50) DEFAULT NULL COMMENT '会员卡号',
  `dealer_id` bigint(20) DEFAULT NULL COMMENT '经销商id',
  `package_id` bigint(20) DEFAULT NULL COMMENT '充值套餐id',
  `create_time` datetime DEFAULT NULL COMMENT '提交时间',
  `total_amount` decimal(10,2) DEFAULT '0.00' COMMENT '订单总金额',
  `pay_amount` decimal(10,2) DEFAULT '0.00' COMMENT '应付金额（实际支付金额）',
  `pay_type` tinyint(2) DEFAULT NULL COMMENT '支付方式',
  `source_type` tinyint(2) DEFAULT NULL COMMENT '订单来源',
  `status` tinyint(2) DEFAULT NULL COMMENT '订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单',
  `note` varchar(500) DEFAULT NULL COMMENT '订单备注',
  `del_flag` tinyint(1) DEFAULT NULL,
  `payment_time` datetime DEFAULT NULL COMMENT '支付时间',
  `order_type` tinyint(2) DEFAULT NULL COMMENT '订单类型',
  PRIMARY KEY (`id`),
  UNIQUE KEY `udx_ordersn` (`order_sn`),
  KEY `idx_member` (`member_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of oms_order
-- ----------------------------

-- ----------------------------
-- Table structure for oms_order_operate_history
-- ----------------------------
DROP TABLE IF EXISTS `oms_order_operate_history`;
CREATE TABLE `oms_order_operate_history` (
  `id` bigint(20) NOT NULL,
  `order_id` bigint(20) NOT NULL COMMENT '订单id',
  `operate_man` varchar(255) DEFAULT NULL COMMENT '操作人：用户；系统；后台管理员',
  `create_time` datetime DEFAULT NULL,
  `order_status` tinyint(2) DEFAULT NULL COMMENT '订单状态',
  `note` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of oms_order_operate_history
-- ----------------------------

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` int(5) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '初始化密码 123456');
INSERT INTO `sys_config` VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '深色主题theme-dark，浅色主题theme-light');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint(20) DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(50) DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) DEFAULT '' COMMENT '部门名称',
  `order_num` int(4) DEFAULT '0' COMMENT '显示顺序',
  `leader` varchar(20) DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) DEFAULT NULL COMMENT '邮箱',
  `status` char(1) DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8mb4 COMMENT='部门表';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` VALUES (100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
INSERT INTO `sys_dept` VALUES (109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00');
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int(4) DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8mb4 COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '性别男');
INSERT INTO `sys_dict_data` VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '性别女');
INSERT INTO `sys_dict_data` VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '性别未知');
INSERT INTO `sys_dict_data` VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '显示菜单');
INSERT INTO `sys_dict_data` VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '隐藏菜单');
INSERT INTO `sys_dict_data` VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '正常状态');
INSERT INTO `sys_dict_data` VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '停用状态');
INSERT INTO `sys_dict_data` VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '正常状态');
INSERT INTO `sys_dict_data` VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '停用状态');
INSERT INTO `sys_dict_data` VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '默认分组');
INSERT INTO `sys_dict_data` VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统分组');
INSERT INTO `sys_dict_data` VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统默认是');
INSERT INTO `sys_dict_data` VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统默认否');
INSERT INTO `sys_dict_data` VALUES (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '通知');
INSERT INTO `sys_dict_data` VALUES (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '公告');
INSERT INTO `sys_dict_data` VALUES (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '正常状态');
INSERT INTO `sys_dict_data` VALUES (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '关闭状态');
INSERT INTO `sys_dict_data` VALUES (18, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '新增操作');
INSERT INTO `sys_dict_data` VALUES (19, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '修改操作');
INSERT INTO `sys_dict_data` VALUES (20, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '删除操作');
INSERT INTO `sys_dict_data` VALUES (21, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '授权操作');
INSERT INTO `sys_dict_data` VALUES (22, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '导出操作');
INSERT INTO `sys_dict_data` VALUES (23, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '导入操作');
INSERT INTO `sys_dict_data` VALUES (24, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '强退操作');
INSERT INTO `sys_dict_data` VALUES (25, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '生成操作');
INSERT INTO `sys_dict_data` VALUES (26, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '清空操作');
INSERT INTO `sys_dict_data` VALUES (27, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '正常状态');
INSERT INTO `sys_dict_data` VALUES (28, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '停用状态');
INSERT INTO `sys_dict_data` VALUES (29, 1, '小程序首页', '1', 'cms_banner_location', NULL, NULL, 'N', '0', 'admin', '2020-08-07 17:22:32', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (30, 2, '官网首页', '2', 'cms_banner_location', NULL, NULL, 'N', '0', 'admin', '2020-08-07 17:22:43', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (33, 1, '未处理', '0', 'cms_feedback_status', NULL, NULL, 'N', '0', 'admin', '2020-08-17 09:10:45', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (34, 2, '已处理', '1', 'cms_feedback_status', NULL, NULL, 'N', '0', 'admin', '2020-08-17 09:10:54', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (35, 1, '未开始', '0', 'act_active_status', NULL, NULL, 'N', '0', 'admin', '2020-08-17 12:24:21', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (36, 2, '报名中', '1', 'act_active_status', NULL, NULL, 'N', '0', 'admin', '2020-08-17 12:24:34', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (37, 3, '已结束', '2', 'act_active_status', NULL, NULL, 'N', '0', 'admin', '2020-08-17 12:26:19', 'admin', '2020-08-17 12:26:24', NULL);
INSERT INTO `sys_dict_data` VALUES (38, 1, '通用', '1', 'act_active_permission', NULL, NULL, 'N', '0', 'admin', '2020-08-17 14:26:42', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (39, 2, '会员专享', '2', 'act_active_permission', NULL, NULL, 'N', '0', 'admin', '2020-08-17 14:26:51', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (40, 1, '未签到', '0', 'act_activity_signup_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 15:19:15', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (41, 1, '已签到', '1', 'act_activity_signup_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 15:19:24', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (42, 1, '未使用', '0', 'mem_member_card_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 18:07:15', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (43, 1, '已使用', '1', 'mem_member_card_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 18:07:30', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (44, 3, '已过期', '2', 'mem_member_card_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 18:08:00', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (45, 1, '普通用户', '1', 'mem_member_level', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:14:15', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (46, 2, '会员用户', '2', 'mem_member_level', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:14:25', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (47, 1, '正常', '1', 'mem_account_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:49:24', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (48, 2, '冻结', '2', 'mem_account_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:49:32', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (49, 1, '1级', '1', 'mem_member_dan_level', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:51:31', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (50, 1, '正常', '1', 'mem_member_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:52:46', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (51, 1, '已过期', '2', 'mem_member_status', NULL, NULL, 'N', '0', 'admin', '2020-08-20 19:52:54', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (52, 1, '国家', '1', 'sys_region_level', NULL, NULL, 'N', '0', 'admin', '2020-08-26 10:59:28', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (53, 2, '省份', '2', 'sys_region_level', NULL, NULL, 'N', '0', 'admin', '2020-08-26 10:59:36', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (54, 3, '城市', '3', 'sys_region_level', NULL, NULL, 'N', '0', 'admin', '2020-08-26 10:59:46', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (56, 0, '未支付', '0', 'oms_pay_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:54:57', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (57, 1, '微信', '1', 'oms_pay_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:55:07', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (58, 2, '支付宝', '2', 'oms_pay_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:55:14', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (59, 1, '自购', '1', 'oms_order_source', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:55:54', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (60, 2, '代理商', '2', 'oms_order_source', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:56:00', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (61, 0, '待付款', '0', 'oms_order_status', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:56:46', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (62, 1, '待发货', '1', 'oms_order_status', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:57:19', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (63, 2, '已发货', '2', 'oms_order_status', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:57:34', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (64, 3, '已完成', '3', 'oms_order_status', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:57:44', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (65, 4, '已关闭', '4', 'oms_order_status', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:57:55', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (66, 5, '无效订单', '5', 'oms_order_status', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:58:06', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (67, 1, '直接支付', '1', 'oms_order_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:59:07', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (68, 2, '卡券兑换', '2', 'oms_order_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 17:59:16', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (69, 1, '证书照片', '1', 'mem_member_img_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 22:15:18', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (70, 2, '会员照片', '2', 'mem_member_img_type', NULL, NULL, 'N', '0', 'admin', '2020-09-06 22:15:25', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (71, 1, '天', '1', 'mem_recharge_package_unit', NULL, NULL, 'N', '0', 'admin', '2020-09-06 22:51:40', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (72, 2, '周', '2', 'mem_recharge_package_unit', NULL, NULL, 'N', '0', 'admin', '2020-09-06 22:51:48', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (73, 3, '月', '3', 'mem_recharge_package_unit', NULL, NULL, 'N', '0', 'admin', '2020-09-06 22:51:56', 'admin', '2020-09-06 22:52:03', NULL);
INSERT INTO `sys_dict_data` VALUES (74, 4, '年', '4', 'mem_recharge_package_unit', NULL, NULL, 'N', '0', 'admin', '2020-09-06 22:52:18', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `dict_type` (`dict_type`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '用户性别列表');
INSERT INTO `sys_dict_type` VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '菜单状态列表');
INSERT INTO `sys_dict_type` VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统开关列表');
INSERT INTO `sys_dict_type` VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '任务状态列表');
INSERT INTO `sys_dict_type` VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '任务分组列表');
INSERT INTO `sys_dict_type` VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统是否列表');
INSERT INTO `sys_dict_type` VALUES (7, '通知类型', 'sys_notice_type', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '通知类型列表');
INSERT INTO `sys_dict_type` VALUES (8, '通知状态', 'sys_notice_status', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '通知状态列表');
INSERT INTO `sys_dict_type` VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '操作类型列表');
INSERT INTO `sys_dict_type` VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '登录状态列表');
INSERT INTO `sys_dict_type` VALUES (11, 'banner位置', 'cms_banner_location', '0', 'admin', '2020-08-07 17:21:54', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (13, '用户反馈信息状态', 'cms_feedback_status', '0', 'admin', '2020-08-17 09:01:01', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (14, '活动状态', 'act_active_status', '0', 'admin', '2020-08-17 12:24:00', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (15, '活动权限', 'act_active_permission', '0', 'admin', '2020-08-17 14:23:43', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (16, '活动报名状态', 'act_activity_signup_status', '0', 'admin', '2020-08-20 15:18:56', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (17, '会员卡状态', 'mem_member_card_status', '0', 'admin', '2020-08-20 18:06:52', 'admin', '2020-08-20 18:09:02', NULL);
INSERT INTO `sys_dict_type` VALUES (18, '会员等级', 'mem_member_level', '0', 'admin', '2020-08-20 19:13:28', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (19, '用户账户状态', 'mem_account_status', '0', 'admin', '2020-08-20 19:48:51', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (20, '用户潜水等级', 'mem_member_dan_level', '0', 'admin', '2020-08-20 19:51:14', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (21, '会员状态', 'mem_member_status', '0', 'admin', '2020-08-20 19:52:28', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (22, '行政区域级别', 'sys_region_level', '0', 'admin', '2020-08-26 10:59:09', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (23, '支付方式', 'oms_pay_type', '0', 'admin', '2020-09-06 17:53:21', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (24, '订单来源', 'oms_order_source', '0', 'admin', '2020-09-06 17:53:48', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (25, '订单状态', 'oms_order_status', '0', 'admin', '2020-09-06 17:54:04', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (26, '订单类型', 'oms_order_type', '0', 'admin', '2020-09-06 17:54:21', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (27, '会员图片类型', 'mem_member_img_type', '0', 'admin', '2020-09-06 22:14:58', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (28, '会员充值套餐有效单位', 'mem_recharge_package_unit', '0', 'admin', '2020-09-06 22:51:21', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_job
-- ----------------------------
DROP TABLE IF EXISTS `sys_job`;
CREATE TABLE `sys_job` (
  `job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COMMENT='定时任务调度表';

-- ----------------------------
-- Records of sys_job
-- ----------------------------
BEGIN;
INSERT INTO `sys_job` VALUES (1, '系统默认（无参）', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_job` VALUES (2, '系统默认（有参）', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_job` VALUES (3, '系统默认（多参）', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_job` VALUES (4, '活动开始及过期', 'SYSTEM', 'activityTask.activityBeginAndExpire', '0 2 0 * * ?', '2', '1', '1', 'admin', '2020-09-08 10:33:00', 'admin', '2020-09-08 10:36:26', '');
INSERT INTO `sys_job` VALUES (5, '会员卡过期', 'SYSTEM', 'memberTask.memberCardExpire', '0 1 0 * * ?', '1', '1', '1', 'admin', '2020-09-08 10:38:44', '', NULL, '');
INSERT INTO `sys_job` VALUES (6, '会员过期', 'SYSTEM', 'memberTask.memberExpire', '0 3 0 * * ?', '1', '1', '1', 'admin', '2020-09-08 10:40:02', '', NULL, '');
INSERT INTO `sys_job` VALUES (7, '订单支付超时', 'SYSTEM', 'orderTask.orderPayExpire', '0 0/1 * * * ?', '1', '1', '1', 'admin', '2020-09-08 10:41:03', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_job_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_job_log`;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) DEFAULT NULL COMMENT '日志信息',
  `status` char(1) DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COMMENT='定时任务调度日志表';

-- ----------------------------
-- Records of sys_job_log
-- ----------------------------

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `user_name` varchar(50) DEFAULT '' COMMENT '用户账号',
  `ipaddr` varchar(50) DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) DEFAULT '' COMMENT '操作系统',
  `status` char(1) DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统访问记录';

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) NOT NULL COMMENT '菜单名称',
  `parent_id` bigint(20) DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int(4) DEFAULT '0' COMMENT '显示顺序',
  `path` varchar(200) DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) DEFAULT NULL COMMENT '组件路径',
  `is_frame` int(1) DEFAULT '1' COMMENT '是否为外链（0是 1否）',
  `menu_type` char(1) DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1169 DEFAULT CHARSET=utf8mb4 COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` VALUES (1, '系统管理', 0, 90, 'system', NULL, 1, 'M', '0', '0', '', 'system', 'admin', '2018-03-16 11:33:00', 'admin', '2020-08-17 09:22:44', '系统管理目录');
INSERT INTO `sys_menu` VALUES (2, '系统监控', 0, 98, 'monitor', NULL, 1, 'M', '0', '0', '', 'monitor', 'admin', '2018-03-16 11:33:00', 'admin', '2020-08-17 09:22:14', '系统监控目录');
INSERT INTO `sys_menu` VALUES (3, '系统工具', 0, 99, 'tool', NULL, 1, 'M', '0', '0', '', 'tool', 'admin', '2018-03-16 11:33:00', 'admin', '2020-08-17 09:22:08', '系统工具目录');
INSERT INTO `sys_menu` VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', 1, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '用户管理菜单');
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', 1, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '角色管理菜单');
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', 1, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '菜单管理菜单');
INSERT INTO `sys_menu` VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', 1, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '部门管理菜单');
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', 1, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '岗位管理菜单');
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', 1, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '字典管理菜单');
INSERT INTO `sys_menu` VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', 1, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '参数设置菜单');
INSERT INTO `sys_menu` VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', 1, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '通知公告菜单');
INSERT INTO `sys_menu` VALUES (108, '日志管理', 1, 9, 'log', 'system/log/index', 1, 'M', '0', '0', '', 'log', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '日志管理菜单');
INSERT INTO `sys_menu` VALUES (109, '在线用户', 2, 1, 'online', 'monitor/online/index', 1, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '在线用户菜单');
INSERT INTO `sys_menu` VALUES (110, '定时任务', 2, 2, 'job', 'monitor/job/index', 1, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '定时任务菜单');
INSERT INTO `sys_menu` VALUES (111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', 1, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '数据监控菜单');
INSERT INTO `sys_menu` VALUES (112, '服务监控', 2, 4, 'server', 'monitor/server/index', 1, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '服务监控菜单');
INSERT INTO `sys_menu` VALUES (113, '表单构建', 3, 1, 'build', 'tool/build/index', 1, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '表单构建菜单');
INSERT INTO `sys_menu` VALUES (114, '代码生成', 3, 2, 'gen', 'tool/gen/index', 1, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '代码生成菜单');
INSERT INTO `sys_menu` VALUES (115, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', 1, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统接口菜单');
INSERT INTO `sys_menu` VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', 1, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '操作日志菜单');
INSERT INTO `sys_menu` VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', 1, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '登录日志菜单');
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 100, 1, '', '', 1, 'F', '0', '0', 'system:user:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 100, 2, '', '', 1, 'F', '0', '0', 'system:user:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 100, 3, '', '', 1, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 100, 4, '', '', 1, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 100, 5, '', '', 1, 'F', '0', '0', 'system:user:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 100, 6, '', '', 1, 'F', '0', '0', 'system:user:import', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 100, 7, '', '', 1, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 101, 1, '', '', 1, 'F', '0', '0', 'system:role:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 101, 2, '', '', 1, 'F', '0', '0', 'system:role:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 101, 3, '', '', 1, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 101, 4, '', '', 1, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 101, 5, '', '', 1, 'F', '0', '0', 'system:role:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 102, 1, '', '', 1, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 102, 2, '', '', 1, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 102, 3, '', '', 1, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 102, 4, '', '', 1, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1017, '部门查询', 103, 1, '', '', 1, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1018, '部门新增', 103, 2, '', '', 1, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1019, '部门修改', 103, 3, '', '', 1, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1020, '部门删除', 103, 4, '', '', 1, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1021, '岗位查询', 104, 1, '', '', 1, 'F', '0', '0', 'system:post:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1022, '岗位新增', 104, 2, '', '', 1, 'F', '0', '0', 'system:post:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1023, '岗位修改', 104, 3, '', '', 1, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1024, '岗位删除', 104, 4, '', '', 1, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1025, '岗位导出', 104, 5, '', '', 1, 'F', '0', '0', 'system:post:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1026, '字典查询', 105, 1, '#', '', 1, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1027, '字典新增', 105, 2, '#', '', 1, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1028, '字典修改', 105, 3, '#', '', 1, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1029, '字典删除', 105, 4, '#', '', 1, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1030, '字典导出', 105, 5, '#', '', 1, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1031, '参数查询', 106, 1, '#', '', 1, 'F', '0', '0', 'system:config:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1032, '参数新增', 106, 2, '#', '', 1, 'F', '0', '0', 'system:config:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1033, '参数修改', 106, 3, '#', '', 1, 'F', '0', '0', 'system:config:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1034, '参数删除', 106, 4, '#', '', 1, 'F', '0', '0', 'system:config:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1035, '参数导出', 106, 5, '#', '', 1, 'F', '0', '0', 'system:config:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1036, '公告查询', 107, 1, '#', '', 1, 'F', '0', '0', 'system:notice:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1037, '公告新增', 107, 2, '#', '', 1, 'F', '0', '0', 'system:notice:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1038, '公告修改', 107, 3, '#', '', 1, 'F', '0', '0', 'system:notice:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1039, '公告删除', 107, 4, '#', '', 1, 'F', '0', '0', 'system:notice:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1040, '操作查询', 500, 1, '#', '', 1, 'F', '0', '0', 'monitor:operlog:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1041, '操作删除', 500, 2, '#', '', 1, 'F', '0', '0', 'monitor:operlog:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1042, '日志导出', 500, 4, '#', '', 1, 'F', '0', '0', 'monitor:operlog:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1043, '登录查询', 501, 1, '#', '', 1, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1044, '登录删除', 501, 2, '#', '', 1, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1045, '日志导出', 501, 3, '#', '', 1, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1046, '在线查询', 109, 1, '#', '', 1, 'F', '0', '0', 'monitor:online:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1047, '批量强退', 109, 2, '#', '', 1, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1048, '单条强退', 109, 3, '#', '', 1, 'F', '0', '0', 'monitor:online:forceLogout', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1049, '任务查询', 110, 1, '#', '', 1, 'F', '0', '0', 'monitor:job:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1050, '任务新增', 110, 2, '#', '', 1, 'F', '0', '0', 'monitor:job:add', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1051, '任务修改', 110, 3, '#', '', 1, 'F', '0', '0', 'monitor:job:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1052, '任务删除', 110, 4, '#', '', 1, 'F', '0', '0', 'monitor:job:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1053, '状态修改', 110, 5, '#', '', 1, 'F', '0', '0', 'monitor:job:changeStatus', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1054, '任务导出', 110, 7, '#', '', 1, 'F', '0', '0', 'monitor:job:export', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1055, '生成查询', 114, 1, '#', '', 1, 'F', '0', '0', 'tool:gen:query', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1056, '生成修改', 114, 2, '#', '', 1, 'F', '0', '0', 'tool:gen:edit', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1057, '生成删除', 114, 3, '#', '', 1, 'F', '0', '0', 'tool:gen:remove', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1058, '导入代码', 114, 2, '#', '', 1, 'F', '0', '0', 'tool:gen:import', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1059, '预览代码', 114, 4, '#', '', 1, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1060, '生成代码', 114, 5, '#', '', 1, 'F', '0', '0', 'tool:gen:code', '#', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_menu` VALUES (1061, '内容管理', 0, 1, 'cms', NULL, 1, 'M', '0', '0', NULL, 'textarea', 'admin', '2020-08-08 08:11:53', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1062, 'banner管理', 1061, 1, 'banner', 'cms/banner/index', 1, 'C', '0', '0', 'cms:banner:list', 'switch', 'admin', '2018-03-01 00:00:00', 'admin', '2020-08-08 10:38:56', 'banner菜单');
INSERT INTO `sys_menu` VALUES (1063, 'banner查询', 1062, 1, '#', '', 1, 'F', '0', '0', 'cms:banner:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1064, 'banner新增', 1062, 2, '#', '', 1, 'F', '0', '0', 'cms:banner:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1065, 'banner修改', 1062, 3, '#', '', 1, 'F', '0', '0', 'cms:banner:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1066, 'banner删除', 1062, 4, '#', '', 1, 'F', '0', '0', 'cms:banner:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1067, 'banner导出', 1062, 5, '#', '', 1, 'F', '0', '0', 'cms:banner:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1068, '文章管理', 1061, 2, 'article', 'cms/article/index', 1, 'C', '0', '0', 'cms:article:list', 'education', 'admin', '2018-03-01 00:00:00', 'admin', '2020-08-15 09:27:18', '文章菜单');
INSERT INTO `sys_menu` VALUES (1069, '文章查询', 1068, 1, '#', '', 1, 'F', '0', '0', 'cms:article:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1070, '文章新增', 1068, 2, '#', '', 1, 'F', '0', '0', 'cms:article:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1071, '文章修改', 1068, 3, '#', '', 1, 'F', '0', '0', 'cms:article:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1072, '文章删除', 1068, 4, '#', '', 1, 'F', '0', '0', 'cms:article:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1073, '文章导出', 1068, 5, '#', '', 1, 'F', '0', '0', 'cms:article:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1074, '案例管理', 1061, 3, 'case', 'cms/case/index', 1, 'C', '0', '0', 'cms:case:list', 'input', 'admin', '2018-03-01 00:00:00', 'admin', '2020-08-16 15:00:24', '案例菜单');
INSERT INTO `sys_menu` VALUES (1075, '案例查询', 1074, 1, '#', '', 1, 'F', '0', '0', 'cms:case:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1076, '案例新增', 1074, 2, '#', '', 1, 'F', '0', '0', 'cms:case:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1077, '案例修改', 1074, 3, '#', '', 1, 'F', '0', '0', 'cms:case:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1078, '案例删除', 1074, 4, '#', '', 1, 'F', '0', '0', 'cms:case:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1079, '案例导出', 1074, 5, '#', '', 1, 'F', '0', '0', 'cms:case:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1080, '反馈信息', 1061, 4, 'feedback', 'cms/feedback/index', 1, 'C', '0', '0', 'cms:feedback:list', 'edit', 'admin', '2018-03-01 00:00:00', 'admin', '2020-08-17 09:21:30', '反馈信息菜单');
INSERT INTO `sys_menu` VALUES (1081, '反馈信息查询', 1080, 1, '#', '', 1, 'F', '0', '0', 'cms:feedback:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1082, '反馈信息新增', 1080, 2, '#', '', 1, 'F', '0', '0', 'cms:feedback:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1083, '反馈信息修改', 1080, 3, '#', '', 1, 'F', '0', '0', 'cms:feedback:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1084, '反馈信息删除', 1080, 4, '#', '', 1, 'F', '0', '0', 'cms:feedback:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1085, '反馈信息导出', 1080, 5, '#', '', 1, 'F', '0', '0', 'cms:feedback:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1086, '用户管理', 0, 1, 'user', NULL, 1, 'M', '0', '0', NULL, 'peoples', 'admin', '2020-08-17 09:29:02', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1087, '会员管理', 0, 2, 'member', NULL, 1, 'M', '0', '0', NULL, 'people', 'admin', '2020-08-17 09:29:28', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1088, '活动管理', 0, 1, 'act', NULL, 1, 'M', '0', '0', NULL, 'job', 'admin', '2020-08-17 09:30:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1089, '订单管理', 0, 3, 'order', NULL, 1, 'M', '0', '0', NULL, 'shopping', 'admin', '2020-08-17 09:31:33', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1090, '活动管理', 1088, 1, 'activity', 'act/activity/index', 1, 'C', '0', '0', 'act:activity:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '活动菜单');
INSERT INTO `sys_menu` VALUES (1091, '活动查询', 1090, 1, '#', '', 1, 'F', '0', '0', 'act:activity:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1092, '活动新增', 1090, 2, '#', '', 1, 'F', '0', '0', 'act:activity:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1093, '活动修改', 1090, 3, '#', '', 1, 'F', '0', '0', 'act:activity:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1094, '活动删除', 1090, 4, '#', '', 1, 'F', '0', '0', 'act:activity:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1095, '活动导出', 1090, 5, '#', '', 1, 'F', '0', '0', 'act:activity:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1096, '活动报名', 1088, 2, 'activity-signup', 'act/activitySignup/index', 1, 'C', '0', '0', 'act:activity-signup:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '活动报名菜单');
INSERT INTO `sys_menu` VALUES (1097, '活动报名查询', 1096, 1, '#', '', 1, 'F', '0', '0', 'act:activity-signup:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1098, '活动报名新增', 1096, 2, '#', '', 1, 'F', '0', '0', 'act:activity-signup:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1099, '活动报名修改', 1096, 3, '#', '', 1, 'F', '0', '0', 'act:activity-signup:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1100, '活动报名删除', 1096, 4, '#', '', 1, 'F', '0', '0', 'act:activity-signup:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1101, '活动报名导出', 1096, 5, '#', '', 1, 'F', '0', '0', 'act:activity-signup:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1102, '经销商管理', 1087, 1, 'dealer', 'member/dealer/index', 1, 'C', '0', '0', 'member:dealer:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '经销商菜单');
INSERT INTO `sys_menu` VALUES (1103, '经销商查询', 1102, 1, '#', '', 1, 'F', '0', '0', 'member:dealer:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1104, '经销商新增', 1102, 2, '#', '', 1, 'F', '0', '0', 'member:dealer:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1105, '经销商修改', 1102, 3, '#', '', 1, 'F', '0', '0', 'member:dealer:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1106, '经销商删除', 1102, 4, '#', '', 1, 'F', '0', '0', 'member:dealer:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1107, '经销商导出', 1102, 5, '#', '', 1, 'F', '0', '0', 'member:dealer:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1108, '会员充值套餐', 1087, 1, 'rechargePackage', 'member/rechargePackage/index', 1, 'C', '0', '0', 'member:rechargePackage:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '会员充值套餐菜单');
INSERT INTO `sys_menu` VALUES (1109, '会员充值套餐查询', 1108, 1, '#', '', 1, 'F', '0', '0', 'member:rechargePackage:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1110, '会员充值套餐新增', 1108, 2, '#', '', 1, 'F', '0', '0', 'member:rechargePackage:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1111, '会员充值套餐修改', 1108, 3, '#', '', 1, 'F', '0', '0', 'member:rechargePackage:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1112, '会员充值套餐删除', 1108, 4, '#', '', 1, 'F', '0', '0', 'member:rechargePackage:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1113, '会员充值套餐导出', 1108, 5, '#', '', 1, 'F', '0', '0', 'member:rechargePackage:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1114, '会员卡', 1087, 1, 'memberCard', 'member/memberCard/index', 1, 'C', '0', '0', 'member:memberCard:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '会员卡菜单');
INSERT INTO `sys_menu` VALUES (1115, '会员卡查询', 1114, 1, '#', '', 1, 'F', '0', '0', 'member:memberCard:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1116, '会员卡新增', 1114, 2, '#', '', 1, 'F', '0', '0', 'member:memberCard:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1117, '会员卡修改', 1114, 3, '#', '', 1, 'F', '0', '0', 'member:memberCard:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1118, '会员卡删除', 1114, 4, '#', '', 1, 'F', '0', '0', 'member:memberCard:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1119, '会员卡导出', 1114, 5, '#', '', 1, 'F', '0', '0', 'member:memberCard:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1120, '会员', 1087, 1, 'member', 'member/member/index', 1, 'C', '0', '0', 'member:member:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '会员菜单');
INSERT INTO `sys_menu` VALUES (1121, '会员查询', 1120, 1, '#', '', 1, 'F', '0', '0', 'member:member:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1122, '会员新增', 1120, 2, '#', '', 1, 'F', '0', '0', 'member:member:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1123, '会员修改', 1120, 3, '#', '', 1, 'F', '0', '0', 'member:member:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1124, '会员删除', 1120, 4, '#', '', 1, 'F', '0', '0', 'member:member:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1125, '会员导出', 1120, 5, '#', '', 1, 'F', '0', '0', 'member:member:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1126, '用户列表', 1086, 1, 'user', 'user/user/index', 1, 'C', '0', '0', 'user:user:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '用户菜单');
INSERT INTO `sys_menu` VALUES (1127, '用户查询', 1126, 1, '#', '', 1, 'F', '0', '0', 'user:user:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1128, '用户新增', 1126, 2, '#', '', 1, 'F', '0', '1', 'user:user:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1129, '用户修改', 1126, 3, '#', '', 1, 'F', '0', '1', 'user:user:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1130, '用户删除', 1126, 4, '#', '', 1, 'F', '0', '1', 'user:user:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1131, '用户导出', 1126, 5, '#', '', 1, 'F', '0', '1', 'user:user:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1132, '用户冻结', 1126, 6, '#', '', 1, 'F', '0', '0', 'user:user:frozen', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1133, '用户解冻', 1126, 7, '#', '', 1, 'F', '0', '0', 'user:user:thaw', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1134, '用户冻结', 1120, 6, '#', '', 1, 'F', '0', '0', 'member:member:frozen', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1135, '用户解冻', 1120, 7, '#', '', 1, 'F', '0', '0', 'member:member:thaw', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1136, '活动报名签到', 1096, 6, '#', '', 1, 'F', '0', '0', 'act:activity-signup:signin', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1137, '反馈信息处理', 1080, 6, '#', '', 1, 'F', '0', '0', 'cms:feedback:hand', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1139, '行业', 1, 1, 'industry', 'system/industry/index', 1, 'C', '0', '0', 'system:industry:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '行业菜单');
INSERT INTO `sys_menu` VALUES (1140, '行业查询', 1139, 1, '#', '', 1, 'F', '0', '0', 'system:industry:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1141, '行业新增', 1139, 2, '#', '', 1, 'F', '0', '0', 'system:industry:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1142, '行业修改', 1139, 3, '#', '', 1, 'F', '0', '0', 'system:industry:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1143, '行业删除', 1139, 4, '#', '', 1, 'F', '0', '0', 'system:industry:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1144, '行业导出', 1139, 5, '#', '', 1, 'F', '0', '0', 'system:industry:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1145, '行政区域', 1, 1, 'region', 'system/region/index', 1, 'C', '0', '0', 'system:region:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '行政区域菜单');
INSERT INTO `sys_menu` VALUES (1146, '行政区域查询', 1145, 1, '#', '', 1, 'F', '0', '0', 'system:region:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1147, '行政区域新增', 1145, 2, '#', '', 1, 'F', '0', '0', 'system:region:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1148, '行政区域修改', 1145, 3, '#', '', 1, 'F', '0', '0', 'system:region:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1149, '行政区域删除', 1145, 4, '#', '', 1, 'F', '0', '0', 'system:region:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1150, '行政区域导出', 1145, 5, '#', '', 1, 'F', '0', '0', 'system:region:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1151, '热门城市', 1, 1, 'hotCity', 'system/hotCity/index', 1, 'C', '0', '0', 'system:hotCity:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '热门城市菜单');
INSERT INTO `sys_menu` VALUES (1152, '热门城市查询', 1151, 1, '#', '', 1, 'F', '0', '0', 'system:hotCity:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1153, '热门城市新增', 1151, 2, '#', '', 1, 'F', '0', '0', 'system:hotCity:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1154, '热门城市修改', 1151, 3, '#', '', 1, 'F', '0', '0', 'system:hotCity:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1155, '热门城市删除', 1151, 4, '#', '', 1, 'F', '0', '0', 'system:hotCity:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1156, '热门城市导出', 1151, 5, '#', '', 1, 'F', '0', '0', 'system:hotCity:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1157, '文章分类', 1061, 1, 'category', 'cms/category/index', 1, 'C', '0', '0', 'cms:category:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '文章分类菜单');
INSERT INTO `sys_menu` VALUES (1158, '文章分类查询', 1157, 1, '#', '', 1, 'F', '0', '0', 'cms:category:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1159, '文章分类新增', 1157, 2, '#', '', 1, 'F', '0', '0', 'cms:category:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1160, '文章分类修改', 1157, 3, '#', '', 1, 'F', '0', '0', 'cms:category:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1161, '文章分类删除', 1157, 4, '#', '', 1, 'F', '0', '0', 'cms:category:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1162, '文章分类导出', 1157, 5, '#', '', 1, 'F', '0', '0', 'cms:category:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1163, '订单', 1089, 1, 'order', 'oms/order/index', 1, 'C', '0', '0', 'oms:order:list', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '订单菜单');
INSERT INTO `sys_menu` VALUES (1164, '订单查询', 1163, 1, '#', '', 1, 'F', '0', '0', 'oms:order:query', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1165, '订单新增', 1163, 2, '#', '', 1, 'F', '0', '0', 'oms:order:add', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1166, '订单修改', 1163, 3, '#', '', 1, 'F', '0', '0', 'oms:order:edit', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1167, '订单删除', 1163, 4, '#', '', 1, 'F', '0', '0', 'oms:order:remove', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
INSERT INTO `sys_menu` VALUES (1168, '订单导出', 1163, 5, '#', '', 1, 'F', '0', '0', 'oms:order:export', '#', 'admin', '2018-03-01 00:00:00', 'ry', '2018-03-01 00:00:00', '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` int(4) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) NOT NULL COMMENT '公告标题',
  `notice_type` char(1) NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` varchar(2000) DEFAULT NULL COMMENT '公告内容',
  `status` char(1) DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) DEFAULT '' COMMENT '模块标题',
  `business_type` int(2) DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) DEFAULT '' COMMENT '请求方式',
  `operator_type` int(1) DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(50) DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) DEFAULT '' COMMENT '返回参数',
  `status` int(1) DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  PRIMARY KEY (`oper_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='操作日志记录';

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` (
  `post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) NOT NULL COMMENT '岗位名称',
  `post_sort` int(4) NOT NULL COMMENT '显示顺序',
  `status` char(1) NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='岗位信息表';

-- ----------------------------
-- Records of sys_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_post` VALUES (1, 'ceo', '董事长', 1, '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_post` VALUES (2, 'se', '项目经理', 2, '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_post` VALUES (3, 'hr', '人力资源', 3, '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
INSERT INTO `sys_post` VALUES (4, 'user', '普通员工', 4, '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '');
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) NOT NULL COMMENT '角色权限字符串',
  `role_sort` int(4) NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `status` char(1) NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` VALUES (1, '系统管理员', 'admin', 1, '1', '0', '0', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '系统管理员');
INSERT INTO `sys_role` VALUES (2, '普通角色', 'common', 2, '2', '0', '0', 'admin', '2018-03-16 11:33:00', 'admin', '2020-08-08 08:10:09', '普通角色');
COMMIT;

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `dept_id` bigint(20) NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色和部门关联表';

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_dept` VALUES (2, 100);
INSERT INTO `sys_role_dept` VALUES (2, 101);
INSERT INTO `sys_role_dept` VALUES (2, 105);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` VALUES (2, 1);
INSERT INTO `sys_role_menu` VALUES (2, 2);
INSERT INTO `sys_role_menu` VALUES (2, 3);
INSERT INTO `sys_role_menu` VALUES (2, 100);
INSERT INTO `sys_role_menu` VALUES (2, 101);
INSERT INTO `sys_role_menu` VALUES (2, 102);
INSERT INTO `sys_role_menu` VALUES (2, 103);
INSERT INTO `sys_role_menu` VALUES (2, 104);
INSERT INTO `sys_role_menu` VALUES (2, 105);
INSERT INTO `sys_role_menu` VALUES (2, 106);
INSERT INTO `sys_role_menu` VALUES (2, 107);
INSERT INTO `sys_role_menu` VALUES (2, 108);
INSERT INTO `sys_role_menu` VALUES (2, 109);
INSERT INTO `sys_role_menu` VALUES (2, 110);
INSERT INTO `sys_role_menu` VALUES (2, 111);
INSERT INTO `sys_role_menu` VALUES (2, 112);
INSERT INTO `sys_role_menu` VALUES (2, 113);
INSERT INTO `sys_role_menu` VALUES (2, 114);
INSERT INTO `sys_role_menu` VALUES (2, 115);
INSERT INTO `sys_role_menu` VALUES (2, 500);
INSERT INTO `sys_role_menu` VALUES (2, 501);
INSERT INTO `sys_role_menu` VALUES (2, 1001);
INSERT INTO `sys_role_menu` VALUES (2, 1002);
INSERT INTO `sys_role_menu` VALUES (2, 1003);
INSERT INTO `sys_role_menu` VALUES (2, 1004);
INSERT INTO `sys_role_menu` VALUES (2, 1005);
INSERT INTO `sys_role_menu` VALUES (2, 1006);
INSERT INTO `sys_role_menu` VALUES (2, 1007);
INSERT INTO `sys_role_menu` VALUES (2, 1008);
INSERT INTO `sys_role_menu` VALUES (2, 1009);
INSERT INTO `sys_role_menu` VALUES (2, 1010);
INSERT INTO `sys_role_menu` VALUES (2, 1011);
INSERT INTO `sys_role_menu` VALUES (2, 1012);
INSERT INTO `sys_role_menu` VALUES (2, 1013);
INSERT INTO `sys_role_menu` VALUES (2, 1014);
INSERT INTO `sys_role_menu` VALUES (2, 1015);
INSERT INTO `sys_role_menu` VALUES (2, 1016);
INSERT INTO `sys_role_menu` VALUES (2, 1017);
INSERT INTO `sys_role_menu` VALUES (2, 1018);
INSERT INTO `sys_role_menu` VALUES (2, 1019);
INSERT INTO `sys_role_menu` VALUES (2, 1020);
INSERT INTO `sys_role_menu` VALUES (2, 1021);
INSERT INTO `sys_role_menu` VALUES (2, 1022);
INSERT INTO `sys_role_menu` VALUES (2, 1023);
INSERT INTO `sys_role_menu` VALUES (2, 1024);
INSERT INTO `sys_role_menu` VALUES (2, 1025);
INSERT INTO `sys_role_menu` VALUES (2, 1026);
INSERT INTO `sys_role_menu` VALUES (2, 1027);
INSERT INTO `sys_role_menu` VALUES (2, 1028);
INSERT INTO `sys_role_menu` VALUES (2, 1029);
INSERT INTO `sys_role_menu` VALUES (2, 1030);
INSERT INTO `sys_role_menu` VALUES (2, 1031);
INSERT INTO `sys_role_menu` VALUES (2, 1032);
INSERT INTO `sys_role_menu` VALUES (2, 1033);
INSERT INTO `sys_role_menu` VALUES (2, 1034);
INSERT INTO `sys_role_menu` VALUES (2, 1035);
INSERT INTO `sys_role_menu` VALUES (2, 1036);
INSERT INTO `sys_role_menu` VALUES (2, 1037);
INSERT INTO `sys_role_menu` VALUES (2, 1038);
INSERT INTO `sys_role_menu` VALUES (2, 1039);
INSERT INTO `sys_role_menu` VALUES (2, 1040);
INSERT INTO `sys_role_menu` VALUES (2, 1041);
INSERT INTO `sys_role_menu` VALUES (2, 1042);
INSERT INTO `sys_role_menu` VALUES (2, 1043);
INSERT INTO `sys_role_menu` VALUES (2, 1044);
INSERT INTO `sys_role_menu` VALUES (2, 1045);
INSERT INTO `sys_role_menu` VALUES (2, 1046);
INSERT INTO `sys_role_menu` VALUES (2, 1047);
INSERT INTO `sys_role_menu` VALUES (2, 1048);
INSERT INTO `sys_role_menu` VALUES (2, 1049);
INSERT INTO `sys_role_menu` VALUES (2, 1050);
INSERT INTO `sys_role_menu` VALUES (2, 1051);
INSERT INTO `sys_role_menu` VALUES (2, 1052);
INSERT INTO `sys_role_menu` VALUES (2, 1053);
INSERT INTO `sys_role_menu` VALUES (2, 1054);
INSERT INTO `sys_role_menu` VALUES (2, 1055);
INSERT INTO `sys_role_menu` VALUES (2, 1056);
INSERT INTO `sys_role_menu` VALUES (2, 1057);
INSERT INTO `sys_role_menu` VALUES (2, 1058);
INSERT INTO `sys_role_menu` VALUES (2, 1059);
INSERT INTO `sys_role_menu` VALUES (2, 1060);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) NOT NULL COMMENT '用户昵称',
  `user_type` varchar(2) DEFAULT '00' COMMENT '用户类型（00系统用户）',
  `email` varchar(50) DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) DEFAULT '' COMMENT '手机号码',
  `sex` char(1) DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) DEFAULT '' COMMENT '头像地址',
  `password` varchar(100) DEFAULT '' COMMENT '密码',
  `status` char(1) DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(50) DEFAULT '' COMMENT '最后登陆IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登陆时间',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` VALUES (1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2018-03-16 11:33:00', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '管理员');
INSERT INTO `sys_user` VALUES (2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2018-03-16 11:33:00', 'admin', '2018-03-16 11:33:00', 'ry', '2018-03-16 11:33:00', '测试员');
COMMIT;

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `post_id` bigint(20) NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户与岗位关联表';

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_post` VALUES (1, 1);
INSERT INTO `sys_user_post` VALUES (2, 2);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (2, 2);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;


CREATE TABLE `wechat_user` (
  `id` bigint(20) unsigned NOT NULL COMMENT '微信用户id',
  `unionid` varchar(30) CHARACTER SET utf8 DEFAULT NULL COMMENT '只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段',
  `openid` varchar(30) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户的标识，对当前公众号唯一',
  `routine_openid` varchar(32) CHARACTER SET utf8 DEFAULT NULL COMMENT '小程序唯一身份ID',
  `nickname` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户的昵称',
  `headimgurl` varchar(256) CHARACTER SET utf8 NOT NULL COMMENT '用户头像',
  `sex` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '用户的性别，值为1时是男性，值为2时是女性，值为0时是未知',
  `city` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户所在城市',
  `language` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户的语言，简体中文为zh_CN',
  `province` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户所在省份',
  `country` varchar(64) CHARACTER SET utf8 NOT NULL COMMENT '用户所在国家',
  `privilege` varchar(500) DEFAULT NULL COMMENT '用户特权信息，json 数组，如微信沃卡用户为（chinaunicom）',
  `remark` varchar(256) CHARACTER SET utf8 DEFAULT NULL COMMENT '公众号运营者对粉丝的备注，公众号运营者可在微信公众平台用户管理界面对粉丝添加备注',
  `groupid` smallint(5) unsigned DEFAULT '0' COMMENT '用户所在的分组ID（兼容旧的用户分组接口）',
  `tagid_list` varchar(256) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户被打上的标签ID列表',
  `subscribe` tinyint(3) unsigned DEFAULT '1' COMMENT '用户是否订阅该公众号标识',
  `subscribe_time` datetime DEFAULT NULL COMMENT '关注公众号时间',
  `create_time` datetime NOT NULL COMMENT '添加时间',
  `session_key` varchar(32) CHARACTER SET utf8 DEFAULT NULL COMMENT '小程序用户会话密匙',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `i_groupid` (`groupid`) USING BTREE,
  KEY `i_subscribe_time` (`subscribe_time`) USING BTREE,
  KEY `i_create_time` (`create_time`) USING BTREE,
  KEY `i_subscribe` (`subscribe`) USING BTREE,
  KEY `i_unionid` (`unionid`) USING BTREE,
  KEY `i_openid` (`openid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='微信用户表';

-- 行政区域添加首字母字段
alter table base_region add column letter varchar (4) default null;